#include <stdio.h>

#define MAXN 10000000
int store[MAXN];

void toBinary(int hex) {
    int len = 0;
    int i = 0;
    while ( hex != 0) {
        int temp = hex % 2;
        store[len++] = temp;
        hex /= 2;
    }

    for (i = len-1; i >= 0; i--) {
        printf("%d", store[i]);
    }
    printf("\n");
}

/*
int main() {
    
    int a1 = 0x00359141;
    int a2 = 0x4A564504;

    // Test hexToBinary Module 1
    ToBinary(a1);
    ToBinary(a2);


    return 0;
}
*/